import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../services/http-client.service';

@Injectable()
export class EntryModelService {

	constructor(
		public httpClient: HttpClientService
	) { }

	//获取模板参数接口
	getServiceEntryModel() {
		return this.httpClient.get('/pms/v1/common/templateParam/template?sItemCode=SERVICE_ITEM');
	}
	//更新模板参数接口
	updateServiceEntryModel(putBody) {
		return this.httpClient.put('/pms/v1/common/templateParam/template', putBody);
	}
}